import 'package:bxultimate/domain/application/organization/AttendanceItemDto.dart';
import 'package:bxultimate/domain/application/organization/AttendanceUserDto.dart';
import 'package:get/get.dart';

class OrganizationAttendanceDetailState {
  OrganizationAttendanceDetailState() {
    ///Initialize variables
    ///
    currentDate = '${DateTime.now().year}-'
        '${DateTime.now().month.toString().padLeft(2, '0')}-'
        '${DateTime.now().day.toString().padLeft(2, '0')}';
  }

  var _attendanceItem = AttendanceItemDto().obs;
  AttendanceItemDto get attendanceItem => _attendanceItem.value;
  set attendanceItem(value) => _attendanceItem.value = value;

  var _alreadyUserList = <AttendanceUserDto>[].obs;
  List<AttendanceUserDto> get alreadyUserList => _alreadyUserList.value;
  set alreadyUserList(value) => _alreadyUserList.value = value;

  var _noSignedUserList = <AttendanceUserDto>[].obs;
  List<AttendanceUserDto> get noSignedUserList => _noSignedUserList.value;
  set noSignedUserList(value) => _noSignedUserList.value = value;

  var _currentDate = ''.obs;
  String get currentDate => _currentDate.value;
  set currentDate(value) => _currentDate.value = value;
}
